<template>
  <div class="home">
    <div class="camp">
      <img class="logo" src="@/assets/common/logo.png" alt="logo">
      <h1 class="title">Gourmet! <small>グルメ！<span class="ch">美食家！</span></small></h1>
    </div>
    <div class="wave">
      <ul>
        <li class="item1">
          <p>卷积神经网络</p>
          <div class="line"></div>
          <div class="circle"></div>
        </li>
        <li class="item2">
          <p>食品图像分类</p>
          <div class="line"></div>
          <div class="circle"></div>
        </li>
        <li class="item3">
          <p>Inception-V3</p>
          <div class="line"></div>
          <div class="circle"></div>
        </li>
        <li class="item4">
          <p>Fine-Tuning</p>
          <div class="line"></div>
          <div class="circle"></div>
        </li>
      </ul>
    </div>
    <Planet/>
    <div class="apply">
      <p class="tag"><b>全新</b>的领域，<b>非凡</b>的挑战</p>
      <ul>
        <li>
          <div class="edge"></div>
          <div>
            <div class="left">优质数据</div>
            <div class="right">全面的食品图像数据源集</div>
          </div>
          <div class="edge"></div>
        </li>
        <li>
          <div class="edge"></div>
          <div>
            <div class="left">经典模型</div>
            <div class="right">谷歌开源的深度学习模型</div>
          </div>
          <div class="edge"></div>
        </li>
        <li>
          <div class="edge"></div>
          <div>
            <div class="left">优秀框架</div>
            <div class="right">久负盛名的人工智能框架</div>
          </div>
          <div class="edge"></div>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
import Planet from '@/views/common/Planet.vue'

export default {
  name: 'Home',
  components: {
    Planet
  }
}
</script>

<style lang="scss">
.home {
  background-color: #1a1832;

  .camp {
    color: #1acfff;

    .logo {
      display: block;
      margin: 0 auto;
    }

    .title {
      font-size: 56px;
      text-align: center;
      text-shadow: 4px 4px 4px #1a7cf5;

      small {
        font-size: 32px;
        text-shadow: 2px 2px 2px #1a7cf5;

        .ch {
          color: #d5d6e6;
          text-shadow: 2px 2px 2px #b2b3b4;
        }
      }
    }
  }

  .wave {
    height: 500px;
    background-image: url('~@/assets/home/wave.jpg');
    position: relative;

    ul {
      list-style: none;
      color: #d5d6e6;
      font-size: 18px;

      .item1 {
        position: absolute;
        margin-top: 100px;
        margin-left: -440px;
        left: 50%;
      }

      .item2 {
        position: absolute;
        margin-top: 160px;
        margin-left: -160px;
        left: 50%;
      }

      .item3 {
        position: absolute;
        margin-top: 120px;
        margin-left: 140px;
        left: 50%;
      }

      .item4 {
        position: absolute;
        margin-top: 200px;
        margin-left: 400px;
        left: 50%;
      }

      .line {
        position: absolute;
        background-color: #1acfff;
        width: 2px;
        height: 50px;
        left: 50%;
        margin-top: 5px;
      }

      .circle {
        position: absolute;
        width: 26px;
        height: 26px;
        left: 38%;
        border: 2px solid #40485e;
        border-radius: 50%;
        bottom: -86px;
      }

      .circle::after {
        content: "";
        background-color: #1acfff;
        position: absolute;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        margin-top: 4.85px;
        margin-left: 4.85px;
      }
    }
  }

  .apply {
    height: 400px;
    background-image: url('~@/assets/common/apply.png');
    background-size: 550px 400px;
    color: #d5d6e6;
    padding-top: 48px;

    .tag {
      font-size: 28px;
      text-align: center;

      b {
        color: #1acfff;
      }
    }

    ul {
      margin: 0 auto;
      width: 480px;
      padding-top: 28px;

      li {
        width: 480px;
        height: 80px;
        border-top: 1px solid #1acfff;
        border-bottom: 1px solid #1acfff;
        margin-top: -1px;
        display: -webkit-flex;
        display: flex;
        align-items: center;

        .edge {
          width: 4px;
          height: 48px;
          background-color: #1acfff;
        }

        .left {
          font-size: 20px;
          padding-left: 50px;
          width: 186px;
          display: inline-block;
        }

        .right {
          font-size: 16px;
          color: #1acfff;
          width: 234px;
          display: inline-block;
        }
      }
    }
  }
}
</style>
